package com.onepower.core.modules.repository.mapper;

import com.onepower.core.modules.repository.entity.SysUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  * 用户和角色关联表 Mapper 接口
 * </p>
 *
 * @author kin
 * @since 2018-08-01
 */
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {

    List<String> selectRolesByUser(Integer useId);
}